package Test8;

import java.io.*;

public class Demo11 {
    public static void main(String[] args) throws FileNotFoundException, UnsupportedEncodingException {
        PrintStream ps=new PrintStream(new FileOutputStream("D:\\poem5.txt"),true,"UTF-8");
        ps.println("独钓寒江雪");
        ps.print(true);
        ps.printf("%s","ren");
        ps.close();
    }
}
